import type { RouteRecordRaw } from "vue-router";


const routes: RouteRecordRaw[] = [
  /* ========================= 入口 ========================= */
  {
    path: "/",
    name: "textualTerms",
    component: () => import("./views/textualTerms/index.vue"),
  },

  /* ========================= 同义词 ========================= */
  {
    path: "/synonymFormAdd",
    name: "synonymFormAdd",
    component: () =>
      import("./views/textualTerms/SynonymLibraryTab/components/SynonymFormAdd.vue"),
  },
  {
    path: "/synonymFormInfo",
    name: "synonymFormInfo",
    component: () =>
      import("./views/textualTerms/SynonymLibraryTab/components/SynonymFormInfo.vue"),
  },
  {
    path: "/synonymFormEdit",
    name: "synonymFormEdit",
    component: () =>
      import("./views/textualTerms/SynonymLibraryTab/components/SynonymFormEdit.vue"),
  },

  /* ========================= 敏感词库 ========================= */
  {
    path: "/sensitiveLexiconTab",
    name: "sensitiveLexiconTab",
    component: () =>
      import("./views/textualTerms/SensitiveLexiconTab/index.vue"),
  },
  {
    path: "/sensitiveLexiconPage",
    name: "sensitiveLexiconPage",
    component: () =>
      import("./views/textualTerms/SensitiveLexiconTab/components/SensitiveLexiconPage.vue"),
  },
  {
    path: "/sensitiveLexiconInfo",
    name: "sensitiveLexiconInfo",
    component: () =>
      import("./views/textualTerms/SensitiveLexiconTab/components/SensitiveLexiconInfo.vue"),
  },

  /* ========================= 禁查词 ========================= */
  {
    path: "/forbiddenTermsTab",
    name: "forbiddenTermsTab",
    component: () =>
      import("./views/textualTerms/ForbiddenTermsTab/index.vue"),
  },
  {
    path: "/forbiddenTermsTabPage",
    name: "forbiddenTermsTabPage",
    component: () =>
      import("./views/textualTerms/ForbiddenTermsTab/components/ForbiddenTermsTabPage.vue"),
  },
  {
    path: "/forbiddenTermsTabInfo",
    name: "forbiddenTermsTabInfo",
    component: () =>
      import("./views/textualTerms/ForbiddenTermsTab/components/ForbiddenTermsTabInfo.vue"),
  },

  /* ========================= 链接删除管理 ========================= */
  // {
  //   path: "/linkDeletionManagement",
  //   name: "linkDeletionManagement",
  //   component: () =>
  //     import("./views/textualTerms/LinkDeletionManagement/index.vue"),
  // },
  // {
  //   path: "/linkDeletionManagementPage",
  //   name: "linkDeletionManagementPage",
  //   component: () =>
  //     import("./views/textualTerms/LinkDeletionManagement/components/LinkDeletionManagementPage.vue"),
  // },
  // {
  //   path: "/linkDeletionManagementInfo",
  //   name: "linkDeletionManagementInfo",
  //   component: () =>
  //     import("./views/textualTerms/LinkDeletionManagement/components/LinkDeletionManagementInfo.vue"),
  // },

  /* ========================= 停用词 ========================= */
  {
    path: "/stopwordListTab",
    name: "stopwordListTab",
    component: () => import("./views/textualTerms/StopwordListTab/index.vue"),
  },
  {
    path: "/stopwordListTabPage",
    name: "stopwordListTabPage",
    component: () =>
      import("./views/textualTerms/StopwordListTab/components/StopwordListTabPage.vue"),
  },
  {
    path: "/stopwordListTabInfo",
    name: "stopwordListTabInfo",
    component: () =>
      import("./views/textualTerms/StopwordListTab/components/StopwordListTabInfo.vue"),
  },

  /* ========================= 自定义分词 ========================= */
  {
    path: "/customWordSegmentation",
    name: "customWordSegmentation",
    component: () =>
      import("./views/textualTerms/CustomWordSegmentation/index.vue"),
  },
  {
    path: "/customWordSegmentationPage",
    name: "customWordSegmentationPage",
    component: () =>
      import("./views/textualTerms/CustomWordSegmentation/components/CustomWordSegmentationPage.vue"),
  },
  {
    path: "/customWordSegmentationInfo",
    name: "customWordSegmentationInfo",
    component: () =>
      import("./views/textualTerms/CustomWordSegmentation/components/CustomWordSegmentationInfo.vue"),
  },
];

export default routes;
